a = input('请输入需要计位的字符串： ')
# a = '1100110000000000110011001111111111110000101010101111000010101010'
print(len(a))





# # map_hexx = ''.join(map(str,map_int))
# # print(map_hexx)
# # map_hex = "{:x}".format(map_int)
# # print(map_hex)
# list_int = list(map_int)
# print(list_int)
# hex_join = ''
# format_list = []
# '''
# for j in list_int:
#     sample = '{:x}'.format(j)
#     format_list.append(sample)
# hex_join = ''.join(format_list)'''
# # hex_join = ''.join(['{:x}'.format(j) for j in list_int])
# print(hex_join)
# # print(map)